/************************************************************************************
 Smith 1.0 Desktop Version
 Twitter automatic feeder

 First version developed for Mapelgate Media
 © 2011 - enrico.miglino@ovi.com - Tech Consulting
 For version history and development proces check git repository
************************************************************************************/

import Qt 4.7

// Define the help rectangle where show short text when the user press a button.
Rectangle {
    id: help

    property alias message: helpMessage.text

    width: parent.width - 12; height: 40
    anchors.horizontalCenter: parent.horizontalCenter
    anchors.bottom: parent.bottom
    anchors.bottomMargin: 6
    radius: 5; color: "#ffcc00"; opacity: 0.9

    Image {
        id: helpIcon

        source: "../images/TweetHelp.png"
        smooth: true; fillMode: Image.PreserveAspectFit
        height: help.height - 4
        anchors.left: help.left; anchors.leftMargin: 2
        anchors.bottom: help.bottom; anchors.bottomMargin: 2
    }

    Text {
        id:helpMessage

        // Create the message string in html format with linkable elements
        text: "Help message: this text appears when a button is pressed...";
        color: "#333333"; style: Text.Normal; wrapMode: Text.WordWrap
        font.family: "Arial"; font.pointSize: 8; font.weight: Font.Light
        anchors.left: helpIcon.right; anchors.right: help.right; anchors.leftMargin: 3; anchors.rightMargin: 3

    }

}
